package com.joey.cloud.psn.business.controller;


import com.baomidou.mybatisplus.extension.service.IService;
import com.joey.cloud.communal.utils.BaseController;
import com.joey.cloud.psn.business.entity.SysRole;
import com.joey.cloud.psn.business.service.ISysRoleService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 权限信息 前端控制器
 * </p>
 *
 * @author Joey
 * @since 2021-03-19
 */
@Api(tags = "权限")
@RestController
@RequestMapping("/business/role")
public class SysRoleController extends BaseController<SysRole> {
    @Autowired
    ISysRoleService sysRoleService;

    @Override
    public IService<SysRole> getService() {
        return sysRoleService;
    }
}

